package designMode.compoundPattern;

/**
 * @author LIBOFEI
 * @ClassName Quackologist
 * @description
 * @date 2020/7/1 15:58
 * @Version 1.0
 **/
public class Quackologist implements Observer {


    @Override
    public void update(QuackObservable duck) {
        System.out.println("Quackologist：" + duck + "just quacked.");
    }
}
